/* eslint-disable */
import ECharts from 'vue-echarts/components/ECharts.vue'
import testMap from './map.json'

// registering map data
ECharts.registerMap('testMap', testMap)

export default {
  backgroundColor: '#404a59',
  geo: {
    map: 'testMap'
  },
  series: [
    {
      type: 'lines',
      name: 'test',
      effect: {
        show: true,
        constantSpeed: 200,
        symbol: 'circle',
        symbolSize: 5,
        trailLength: .5
      },
      lineStyle: {
        curveness: .1,
        color: {
          type: 'linear',
          colorStops: [
            {
              offset: 0, color: '#0754CC' // 0% 处的颜色
            },
            {
              offset: 1, color: '#1DABBA' // 100% 处的颜色
            }
          ]
        }
      },
      // polyline: true,
      data: [
        {
          coords: [
            [-0.1043701171875,21.321680090644993],
            [-0.16445159912109375,21.448914599659243]
          ]
        }
      ]
    }
  ]
}
